package demo.factor;

import java.util.Map;
import java.util.Set;

import demo.bean.Admin;
import demo.bean.Carts;
import demo.bean.Client;
import demo.bean.Goods;

public interface fac {
	public Map<Client,Integer> readAllUser();
	public boolean writeAllUser(Map<Client,Integer> map);
	public Admin readAdmin();
	public boolean writeAllGoods(Set<Goods> list);
	public Set<Goods> readAllGoods();
	public Map<Client,Carts> readAllCarts();
	public boolean writeAllCarts(Map<Client,Carts> map); 
	
	
}
